package com.ly.ql.Wms.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 入库通知单明细实体类
 */
@TableName("LRP_InboundNotice_L")
@Data
public class InStockDetailEntity {
    @TableId("oid")
    private Long OID;

    private Long SOID;

    private int Status;

    @TableField(fill = FieldFill.INSERT)
    private int VERID;

    private Long CREATOR;

    @TableField(fill = FieldFill.UPDATE) //默认日期 1979-01-08
    private LocalDateTime CREATETIME;

    private Long MaterialId;

    private BigDecimal Qty;

    private BigDecimal BasicQty;

    private BigDecimal RecvQty; // 收货量

    private BigDecimal DiscountQty; // 折百后

    private String MaterialUnit; //单位

    private String BatchNo;

    @TableField(fill = FieldFill.INSERT) //默认日期 1979-01-08
    private LocalDateTime ManufDate;//生产日期

    @TableField(fill = FieldFill.INSERT) //默认日期 1979-01-08
    private LocalDateTime ExpireDate;//生产日期

    @TableField(fill = FieldFill.INSERT_UPDATE) //默认日期 1979-01-08
    private LocalDateTime RecvDate;//生产日期

    private Long StoreroomId;

    private Long StoreareaId;

    private Long LocationId;

    private Long MaterialStatusId;

    private Long SourceBillDTLOID;

    private String Spec;

    private int ERPLineID;

    private Long ErpDetailId;

    private BigDecimal Concentration;

    private String VersionCode;

    private String VersionName;

    private String VersionMode;

    private String poNo;//采购订单

    private int IsReceiveQc;

}
